package com.aaa.service.impl;

import com.aaa.dao.TMenuMapper;
import com.aaa.entity.LayTreeData;
import com.aaa.entity.TMenu;
import com.aaa.service.TMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * (TMenu)表服务实现类
 *
 * @author yuyongli
 * @since 2022-10-24 09:37:04
 */
@Service
public class TMenuServiceImpl implements TMenuService {
   @Autowired
   private TMenuMapper tMenuMapper;

   @Override
   public List<TMenu> findAll(Integer rid) {
      return tMenuMapper.findAll(rid);
   }

    @Override
    public List<LayTreeData> getAllTreeMenu() {
        return tMenuMapper.findAllTreeData();
    }

    @Override
    public List<Integer> getcheckDataList(Integer rid) {
        return tMenuMapper.getcheckDataList(rid);
    }
}

